package com.shop.api.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

@FeignClient(name = "shop-service-admin")
public interface PictureFeign {

    //上传图片
    @RequestMapping(value = "/admin/service/pic/upload",method = RequestMethod.GET)
    String picUpload(@RequestParam("uploadFile") MultipartFile uploadFile, @RequestParam("wangEditorH5File")MultipartFile wangEditorH5File);
}
